package mercede.allBean;

import mercede.allManagers.UserManager;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

@ManagedBean(name="asghar")
@RequestScoped

public class UserBean {


	@EJB
	private UserManager userMgr;
	
	public String getName() {
		return userMgr.getUserDTO().getFirstName();
	}
	

	public String getEmail() {
		return userMgr.getUserDTO().getEmail();
	}
	
	public String getLastname() {
		return userMgr.getUserDTO().getLastName();
	}
	
}
